package com.ohc.leetcode.数组.repect;

import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * 2022年5月16日12:28:42
 */
public class 两数之和01 {
    public static int[] twoSum(int[] nums, int target) {
        int left = 0;
        Arrays.sort(nums);
        int right = nums.length - 1;
        while (left < right) {

        }

        return null;
    }

    public static void main(String[] args) {
        int[] arr = {2, 7, 11, 15};
        int[] twoSum = twoSum(arr, 9);
        for (int i : twoSum) {
            System.out.println("i = " + i);
        }

    }
}
